Optimal. Leaf size=209 \[ \frac{e^2 (-a B e-A b e+2 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{8 b^{5/2} (b d-a e)^{5/2}}-\frac{e \sqrt{d+e x} (-a B e-A b e+2 b B d)}{8 b^2 (a+b x) (b d-a e)^2}-\frac{\sqrt{d+e x} (-a B e-A b e+2 b B d)}{4 b^2 (a+b x)^2 (b d-a e)}-\frac{(d+e x)^{3/2} (A b-a B)}{3 b (a+b x)^3 (b d-a e)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.177427, antiderivative size = 209, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {27, 78, 47, 51, 63, 208} \[ \frac{e^2 (-a B e-A b e+2 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{8 b^{5/2} (b d-a e)^{5/2}}-\frac{e \sqrt{d+e x} (-a B e-A b e+2 b B d)}{8 b^2 (a+b x) (b d-a e)^2}-\frac{\sqrt{d+e x} (-a B e-A b e+2 b B d)}{4 b^2 (a+b x)^2 (b d-a e)}-\frac{(d+e x)^{3/2} (A b-a B)}{3 b (a+b x)^3 (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 78
Rule 47
Rule 51
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{(A+B x) \sqrt{d+e x}}{\left (a^2+2 a b x+b^2 x^2\right )^2} \, dx &=\int \frac{(A+B x) \sqrt{d+e x}}{(a+b x)^4} \, dx\\ &=-\frac{(A b-a B) (d+e x)^{3/2}}{3 b (b d-a e) (a+b x)^3}+\frac{(2 b B d-A b e-a B e) \int \frac{\sqrt{d+e x}}{(a+b x)^3} \, dx}{2 b (b d-a e)}\\ &=-\frac{(2 b B d-A b e-a B e) \sqrt{d+e x}}{4 b^2 (b d-a e) (a+b x)^2}-\frac{(A b-a B) (d+e x)^{3/2}}{3 b (b d-a e) (a+b x)^3}+\frac{(e (2 b B d-A b e-a B e)) \int \frac{1}{(a+b x)^2 \sqrt{d+e x}} \, dx}{8 b^2 (b d-a e)}\\ &=-\frac{(2 b B d-A b e-a B e) \sqrt{d+e x}}{4 b^2 (b d-a e) (a+b x)^2}-\frac{e (2 b B d-A b e-a B e) \sqrt{d+e x}}{8 b^2 (b d-a e)^2 (a+b x)}-\frac{(A b-a B) (d+e x)^{3/2}}{3 b (b d-a e) (a+b x)^3}-\frac{\left (e^2 (2 b B d-A b e-a B e)\right ) \int \frac{1}{(a+b x) \sqrt{d+e x}} \, dx}{16 b^2 (b d-a e)^2}\\ &=-\frac{(2 b B d-A b e-a B e) \sqrt{d+e x}}{4 b^2 (b d-a e) (a+b x)^2}-\frac{e (2 b B d-A b e-a B e) \sqrt{d+e x}}{8 b^2 (b d-a e)^2 (a+b x)}-\frac{(A b-a B) (d+e x)^{3/2}}{3 b (b d-a e) (a+b x)^3}-\frac{(e (2 b B d-A b e-a B e)) \operatorname{Subst}\left (\int \frac{1}{a-\frac{b d}{e}+\frac{b x^2}{e}} \, dx,x,\sqrt{d+e x}\right )}{8 b^2 (b d-a e)^2}\\ &=-\frac{(2 b B d-A b e-a B e) \sqrt{d+e x}}{4 b^2 (b d-a e) (a+b x)^2}-\frac{e (2 b B d-A b e-a B e) \sqrt{d+e x}}{8 b^2 (b d-a e)^2 (a+b x)}-\frac{(A b-a B) (d+e x)^{3/2}}{3 b (b d-a e) (a+b x)^3}+\frac{e^2 (2 b B d-A b e-a B e) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{8 b^{5/2} (b d-a e)^{5/2}}\\ \end{align*}
Mathematica [C] time = 0.076636, size = 98, normalized size = 0.47 \[ \frac{(d+e x)^{3/2} \left (\frac{3 e^2 (a B e+A b e-2 b B d) \, _2F_1\left (\frac{3}{2},3;\frac{5}{2};\frac{b (d+e x)}{b d-a e}\right )}{(b d-a e)^3}+\frac{3 (a B-A b)}{(a+b x)^3}\right )}{9 b (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.019, size = 494, normalized size = 2.4 \begin{align*}{\frac{{e}^{3}Ab}{8\, \left ( bex+ae \right ) ^{3} \left ({a}^{2}{e}^{2}-2\,abde+{b}^{2}{d}^{2} \right ) } \left ( ex+d \right ) ^{{\frac{5}{2}}}}+{\frac{{e}^{3}aB}{8\, \left ( bex+ae \right ) ^{3} \left ({a}^{2}{e}^{2}-2\,abde+{b}^{2}{d}^{2} \right ) } \left ( ex+d \right ) ^{{\frac{5}{2}}}}-{\frac{{e}^{2}Bbd}{4\, \left ( bex+ae \right ) ^{3} \left ({a}^{2}{e}^{2}-2\,abde+{b}^{2}{d}^{2} \right ) } \left ( ex+d \right ) ^{{\frac{5}{2}}}}+{\frac{{e}^{3}A}{3\, \left ( bex+ae \right ) ^{3} \left ( ae-bd \right ) } \left ( ex+d \right ) ^{{\frac{3}{2}}}}-{\frac{{e}^{3}aB}{3\, \left ( bex+ae \right ) ^{3} \left ( ae-bd \right ) b} \left ( ex+d \right ) ^{{\frac{3}{2}}}}-{\frac{{e}^{3}A}{8\, \left ( bex+ae \right ) ^{3}b}\sqrt{ex+d}}-{\frac{{e}^{3}aB}{8\, \left ( bex+ae \right ) ^{3}{b}^{2}}\sqrt{ex+d}}+{\frac{{e}^{2}Bd}{4\, \left ( bex+ae \right ) ^{3}b}\sqrt{ex+d}}+{\frac{{e}^{3}A}{8\,b \left ({a}^{2}{e}^{2}-2\,abde+{b}^{2}{d}^{2} \right ) }\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}+{\frac{{e}^{3}aB}{8\,{b}^{2} \left ({a}^{2}{e}^{2}-2\,abde+{b}^{2}{d}^{2} \right ) }\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}-{\frac{{e}^{2}Bd}{4\,b \left ({a}^{2}{e}^{2}-2\,abde+{b}^{2}{d}^{2} \right ) }\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.48059, size = 2453, normalized size = 11.74 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.16778, size = 521, normalized size = 2.49 \begin{align*} -\frac{{\left (2 \, B b d e^{2} - B a e^{3} - A b e^{3}\right )} \arctan \left (\frac{\sqrt{x e + d} b}{\sqrt{-b^{2} d + a b e}}\right )}{8 \,{\left (b^{4} d^{2} - 2 \, a b^{3} d e + a^{2} b^{2} e^{2}\right )} \sqrt{-b^{2} d + a b e}} - \frac{6 \,{\left (x e + d\right )}^{\frac{5}{2}} B b^{3} d e^{2} - 6 \, \sqrt{x e + d} B b^{3} d^{3} e^{2} - 3 \,{\left (x e + d\right )}^{\frac{5}{2}} B a b^{2} e^{3} - 3 \,{\left (x e + d\right )}^{\frac{5}{2}} A b^{3} e^{3} - 8 \,{\left (x e + d\right )}^{\frac{3}{2}} B a b^{2} d e^{3} + 8 \,{\left (x e + d\right )}^{\frac{3}{2}} A b^{3} d e^{3} + 15 \, \sqrt{x e + d} B a b^{2} d^{2} e^{3} + 3 \, \sqrt{x e + d} A b^{3} d^{2} e^{3} + 8 \,{\left (x e + d\right )}^{\frac{3}{2}} B a^{2} b e^{4} - 8 \,{\left (x e + d\right )}^{\frac{3}{2}} A a b^{2} e^{4} - 12 \, \sqrt{x e + d} B a^{2} b d e^{4} - 6 \, \sqrt{x e + d} A a b^{2} d e^{4} + 3 \, \sqrt{x e + d} B a^{3} e^{5} + 3 \, \sqrt{x e + d} A a^{2} b e^{5}}{24 \,{\left (b^{4} d^{2} - 2 \, a b^{3} d e + a^{2} b^{2} e^{2}\right )}{\left ({\left (x e + d\right )} b - b d + a e\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]